// components/music-box/music-box.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    data: {
      type: Object
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleMore(event) {
      var sort = event.target.dataset.title;
      wx.navigateTo({
        url: '/pages/musicContent/musicContent?title=' + sort
      })
    },
    handleId(event) {
      var id=event.currentTarget.dataset.id;
      wx.navigateTo({
        url: '/pages/musicDetail/musicDetail?id='+id,
      });
        
    }
  },
  options: {
    multipleSlots: true
  }
})